package com.zjgeport.zjgdanger.model;


import android.media.session.MediaSession;

import java.util.HashMap;

public class UserInfo
{
	private String realname;
	private String userOrgtype;
	private String userOrgId;
	private String userOrgName;
	private String sex;
	private String userid;
	private String token;
	public String getUserid()
	{
		return userid;
	}
	public void setUserid(String userid)
	{
		this.userid = userid;
	}
	public String getToken(){ return token;}
	public void setToken(String token){this.token = token;}
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getRealname()
	{
		return realname;
	}
	public void setRealname(String realname)
	{
		this.realname = realname;
	}
	private String username;
	private HashMap<String,String> hashMap = new HashMap<>();

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	private String userMobile;
	public String getUserOrgtype() {
		return userOrgtype;
	}

	public void setUserOrgtype(String userOrgtype) {
		this.userOrgtype = userOrgtype;
	}

	public String getUserOrgId() {
		return userOrgId;
	}

	public void setUserOrgId(String userOrgId) {
		this.userOrgId = userOrgId;
	}

	public String getUserOrgName() {
		return userOrgName;
	}

	public void setUserOrgName(String userOrgName) {
		this.userOrgName = userOrgName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setParam(String key,String value){
		hashMap.put(key,value);
	}
	public String getParam(String key){
		return hashMap.get(key).toString();
	}
}
